FROM registry.cn-hangzhou.aliyuncs.com/987763485/python38

LABEL maintainer="wuchunle <wuchunle@gsaxns.com>" version=1.0.0 description="DOC文档构建中心"

WORKDIR /home/docx-generate

ADD . /home/docx-generate

# EXPOSE 80/tcp

# RUN ["uwsgi", "uwsgi.ini"]
# CMD ["nginx", "-c","/home/docx-generate/nginx.conf"]
EXPOSE 5000/tcp
RUN pip3 install flask_cors
CMD ["python3", "./src/app.py"]